package com.second.app.thread.reentrant.conditionmoreerror;

/**
 * @author gyz
 * @date 2021/2/1 17:08
 */
public class ThreadB extends Thread {
    private MyService myService;

    public ThreadB(MyService myService) {
        this.myService = myService;
    }

    @Override
    public void run() {
        myService.awaitB();
    }
}
